<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>管理员控制中心</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="format-detection" content="telephone=no" />
    <!--    <link rel="shortcut icon" href="../images/yc.png" type="image/x-icon">-->
    <link rel="stylesheet" href="../css/layui.css" media="all">
</head>
<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">
    <div class="layui-header">
        <div class="layui-logo">管理系统</div>
        <ul class="layui-nav layui-layout-right">

            <li class="layui-nav-item"><a href="../login.html">退出系统</a></li>
        </ul>
    </div>

    <div class="layui-side layui-bg-black">
        <div class="layui-side-scroll">
            <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
            <ul class="layui-nav layui-nav-tree" lay-filter="test">
                <li class="layui-nav-item layui-nav-itemed">
                    <!--          <a id="app" href="javascript:tabchange('buildingadd.html')"></a>-->
                    <dl class="layui-nav-child">
                        <dd><a href="javascript:tabchange(`health.html?account=${location.href}`);">查看健康信息</a></dd>
                        <dd><a href="javascript:tabchange(`personManager.html?account=${location.href}`);">修改个人信息</a></dd>
                    </dl>
                </li>
            </ul>
        </div>
    </div>

    <div class="layui-body">
        <iframe src=health.html?from=demo frameborder="0" id="demoAdmin" style="width: 100%; height: 99%;"></iframe>
    </div>


</div>

<script src="../js/layui.all.js" charset="utf-8"></script>
<script type="text/javascript" src="../js/jquery-3.4.1.min.js"></script>
<script type="text/javascript" src="../js/jquery-ui.min.js"></script>
<script type="text/javascript" src="../js/vue/vue.js"></script>
<script type="text/javascript" src="../js/vue/axios.js"></script>

<script>
    function tabchange(page) {
        document.getElementById("demoAdmin").setAttribute("src", page);
    }
</script>

<script type="text/javascript">
    let vm = new Vue({
        el: "#app",
        data: {
            name: '',
            account: '',
            pwd: '',
            role: ''
        },
        mounted() {

        },
        methods : {

        }
    })
</script>

</body>
</html>